

import 'package:flutter/cupertino.dart';
import 'package:furaha_mkopo/manager/fm_global_manager.dart';

class FMScreenTool {

  static double width(BuildContext context) {
    return MediaQuery.of(context).size.width;
  }

  static double height(BuildContext context) {
    return MediaQuery.of(context).size.height;
  }

  static double topPadding(BuildContext context) {
    return MediaQuery.of(context).padding.top;
  }

  static double bottomPadding(BuildContext context) {
    return MediaQuery.of(context).padding.bottom;
  }

  static double appBarHeight(BuildContext context) {
    return topPadding(context) + 44;
  }
}